package cn.yq.share.service2;

import cn.yq.share.entity.Teacher;
import cn.yq.share.model.QueryTeacherList;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**
 * @author 007
 * @version V1.0
 * @Description:
 * @date 2018/11/29 19:11
 */
public interface TeacherService extends IService<Teacher>{
    public List<Teacher> queryTeacherList(Page<QueryTeacherList> page);

    public Map<String,Object> saveOrUpdateTeacher(Teacher teacher);
}
